import Vue from 'vue'
import Vuex from 'vuex'
import userInfo from './userInfo.js'
Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		userInfo, //用户信息
	},
	getters: {
		userInfo: () => userInfo.state.userInfo
	}
})

export default store